home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DATAUTIL / DBASEUT1.LZH / DWTTUTO.PRG < prev    next >
Text File  |  1985-09-12  |  5KB  |  109 lines

  1. * dwttuto.prg *
  2. * main = dwt
  3. do while .t.
  4.  
  5.   * display screen *
  6.   @ 01,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒'
  7.   @ 02,00 say '▒▒ ╔═══════════════╗ ▒▒ ╔══════════════════════════════════════════════════╗ ▒▒'
  8.   @ 03,00 say '▒▒ ║ TUTORIAL      ║ ▒▒ ║                                                  ║ ▒▒'
  9.   @ 04,00 say '▒▒ ╟───────────────╢ ▒▒ ║                                                  ║ ▒▒'
  10.   @ 05,00 say '▒▒ ║ Help          ║ ▒▒ ║                                                  ║ ▒▒'
  11.   @ 06,00 say '▒▒ ║ Introduction  ║ ▒▒ ║       ┌───────────────────────────┐              ║ ▒▒'
  12.   @ 07,00 say '▒▒ ║ Tutor         ║ ▒▒ ║       │ dBASE                     │              ║ ▒▒'
  13.   @ 08,00 say '▒▒ ║               ║ ▒▒ ║       │ ┌───────────────────────────┐            ║ ▒▒'
  14.   @ 09,00 say '▒▒ ║               ║ ▒▒ ║       └─│ Windowing                 │            ║ ▒▒'
  15.   @ 10,00 say '▒▒ ║               ║ ▒▒ ║         │ ┌───────────────────────────┐          ║ ▒▒'
  16.   @ 11,00 say '▒▒ ║               ║ ▒▒ ║         └─│ Technology                │          ║ ▒▒'
  17.   @ 12,00 say '▒▒ ║               ║ ▒▒ ║           │ ┌───────────────────────────┐        ║ ▒▒'
  18.   @ 13,00 say '▒▒ ║               ║ ▒▒ ║           └─│ Tutorial                  │        ║ ▒▒'
  19.   @ 14,00 say '▒▒ ║ <CR> to quit  ║ ▒▒ ║             │                           │        ║ ▒▒'
  20.   @ 15,00 say '▒▒ ╚═══════════════╝ ▒▒ ║             └───────────────────────────┘        ║ ▒▒'
  21.   @ 16,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ║                                                  ║ ▒▒'
  22.   @ 17,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ║                                                  ║ ▒▒'
  23.   @ 18,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ║                                                  ║ ▒▒'
  24.   @ 19,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ║                                                  ║ ▒▒'
  25.   @ 20,00 say '▒▒ ╔═══════════════╗ ▒▒ ║                                                  ║ ▒▒'
  26.   @ 21,00 say '▒▒ ║               ║ ▒▒ ║                                                  ║ ▒▒'
  27.   @ 22,00 say '▒▒ ╚═══════════════╝ ▒▒ ╚══════════════════════════════════════════════════╝ ▒▒'
  28.   @ 23,00 say '▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒'
  29.  
  30.   * prompt for action *
  31.   store ' ' to action
  32.   @ 21,05 say 'Selection?'get action picture 'A'
  33.   read
  34.   clear gets
  35.   @ 21,04 say '               '
  36.   store UPPER(action) to action
  37.  
  38.   * go for case *
  39.   do case
  40.  
  41.       * quit and repaint background *
  42.     case action='Q' .or. action=' '
  43.       return
  44.  
  45.       * display help screen *
  46.     case action='H'
  47.       @ 21,04 say ' Stand by...   '
  48.       @ 03,10 say "╔═════════════════════════════════════════════════════════╗"
  49.       @ 04,10 say "║ The d/WT Tutor will show you how to modify this system  ║"
  50.       @ 05,10 say "║ to create other applications with windowing features.   ║"
  51.       @ 06,10 say "║                                                         ║"
  52.       @ 07,10 say "║ To operate the tutor, simply press 'T' at the tutorial  ║"
  53.       @ 08,10 say "║ menu. Each page of the tutor will be displayed, one af- ║"
  54.       @ 09,10 say "║ ter another. The pages are numbered and subtitled for   ║"
  55.       @ 10,10 say "║ convenience.                                            ║"
  56.       @ 11,10 say "║                                                         ║"
  57.       @ 12,10 say "║ To advance one page, press 'N' for NEXT PAGE. To review ║"
  58.       @ 13,10 say "║ a previous page, press 'P'. To exit from the tutor,     ║"
  59.       @ 14,10 say "║ press <CR>, or press 'Q'. The tutor will return to this ║"  
  60.       @ 15,10 say "║ menu when it is completed.                              ║"
  61.       @ 16,10 say "║                                                         ║"
  62.       @ 17,10 say "╚═════════════════════════════════════════════════════════╝"
  63.  
  64.       * prompt to continue *
  65.       store ' ' to continue
  66.       @ 21,05 say 'Any key...' get continue
  67.       read
  68.       clear gets
  69.       @ 21,04 say ' Stand by...   '
  70.  
  71.       * introduction *
  72.     case action='I'
  73.       @ 05,00 say '▒▒ ║ Next Page     ║ ▒▒'
  74.       @ 06,00 say '▒▒ ║ Previous Page ║ ▒▒'
  75.       @ 07,00 say '▒▒ ║               ║ ▒▒'
  76.       @ 08,00 say '▒▒ ║               ║ ▒▒'
  77.       @ 09,00 say '▒▒ ║               ║ ▒▒'
  78.       @ 10,00 say '▒▒ ║               ║ ▒▒'
  79.       @ 11,00 say '▒▒ ║               ║ ▒▒'
  80.       @ 12,00 say '▒▒ ║               ║ ▒▒'
  81.       @ 13,00 say '▒▒ ║               ║ ▒▒'
  82.       @ 14,00 say '▒▒ ║ <CR> to quit  ║ ▒▒'
  83.       do dwtintro
  84.  
  85.       * repaint screen *
  86.       @ 21,04 say ' Stand by...   '
  87.  
  88.       * tutor *
  89.     case action='T'
  90.       @ 05,00 say '▒▒ ║ Next Page     ║ ▒▒'
  91.       @ 06,00 say '▒▒ ║ Previous Page ║ ▒▒'
  92.       @ 07,00 say '▒▒ ║               ║ ▒▒'
  93.       @ 08,00 say '▒▒ ║               ║ ▒▒'
  94.       @ 09,00 say '▒▒ ║               ║ ▒▒'
  95.       @ 10,00 say '▒▒ ║               ║ ▒▒'
  96.       @ 11,00 say '▒▒ ║               ║ ▒▒'
  97.       @ 12,00 say '▒▒ ║               ║ ▒▒'
  98.       @ 13,00 say '▒▒ ║               ║ ▒▒'
  99.       @ 14,00 say '▒▒ ║ <CR> to quit  ║ ▒▒'
  100.       do dwttutor
  101.  
  102.       * repaint screen *
  103.       @ 21,04 say ' Stand by...   '
  104.  
  105.  
  106.   endcase
  107.  
  108. enddo action
  109.